<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>会员权益 - 邦伴用户端</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
  <style>
    :root {
      --primary: #ff7e2d;
      --primary-light: #fff3ea;
      --border: #f0f0f0;
      --text-main: #222;
      --text-sub: #888;
    }
    
    body {
      font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
      background-color: #f8f8f8;
      color: var(--text-main);
    }
    
    .app-container {
      width: 375px;
      height: 812px;
      margin: 0 auto;
      background: #fff;
      position: relative;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
      overflow-y: auto;
    }
    
    .primary-color {
      color: var(--primary);
    }
    
    .primary-bg {
      background-color: var(--primary);
    }
    
    .primary-light-bg {
      background-color: var(--primary-light);
    }
    
    .btn-primary {
      background-color: var(--primary);
      color: white;
    }
    
    .btn-outline {
      border: 1px solid var(--primary);
      color: var(--primary);
    }
    
    .card {
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    
    .member-card {
      background: linear-gradient(135deg, #ff7e2d, #ff9d5c);
      border-radius: 12px;
      color: white;
    }
    
    .level-card {
      border-radius: 12px;
      overflow: hidden;
      position: relative;
    }
    
    .level-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
    }
    
    .level-silver::before {
      background: linear-gradient(90deg, #c0c0c0, #e0e0e0);
    }
    
    .level-gold::before {
      background: linear-gradient(90deg, #ffd700, #ffcc00);
    }
    
    .level-platinum::before {
      background: linear-gradient(90deg, #a9a9a9, #e5e4e2);
    }
    
    .level-diamond::before {
      background: linear-gradient(90deg, #b9f2ff, #a3e4f5);
    }
    
    .benefit-item {
      display: flex;
      align-items: center;
      padding: 16px;
      border-bottom: 1px solid #f0f0f0;
    }
    
    .benefit-item:last-child {
      border-bottom: none;
    }
  </style>
</head>
<body>
  <div class="app-container">
    <!-- 顶部导航栏 -->
    <div class="sticky top-0 z-10 bg-white border-b border-gray-100 px-4 py-3 flex items-center">
      <a href="member_center.html" class="mr-2">
        <i class="fas fa-arrow-left text-lg"></i>
      </a>
      <h1 class="text-lg font-medium flex-1 text-center">会员权益</h1>
    </div>
    
    <!-- 会员卡片 -->
    <div class="p-4">
      <div class="member-card p-4">
        <div class="flex items-center">
          <div class="w-14 h-14 rounded-full bg-white bg-opacity-20 flex items-center justify-center mr-3">
            <i class="fas fa-crown text-2xl"></i>
          </div>
          <div>
            <h2 class="text-lg font-medium">张先生</h2>
            <p class="text-sm opacity-80">黄金会员</p>
          </div>
          <div class="ml-auto">
            <span class="text-sm opacity-80">Lv.3</span>
          </div>
        </div>
        
        <div class="mt-4">
          <div class="flex justify-between items-center mb-2">
            <span class="text-sm opacity-80">当前积分：2,580</span>
            <span class="text-sm opacity-80">距离升级还需：1,420积分</span>
          </div>
          <div class="w-full h-2 bg-white bg-opacity-20 rounded-full">
            <div class="h-full bg-white rounded-full" style="width: 65%;"></div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 会员等级说明 -->
    <div class="px-4 py-3">
      <h2 class="text-base font-medium mb-3">会员等级</h2>
      
      <div class="space-y-3">
        <!-- 普通会员 -->
        <div class="bg-white rounded-lg overflow-hidden shadow-sm">
          <div class="p-3 bg-gray-50 flex items-center">
            <i class="fas fa-user text-gray-500 mr-2"></i>
            <span class="font-medium">普通会员</span>
            <span class="ml-auto text-xs text-gray-500">Lv.1</span>
          </div>
          <div class="p-3">
            <p class="text-xs text-gray-500 mb-2">积分要求：0-999</p>
            <div class="grid grid-cols-2 gap-2">
              <div class="flex items-center">
                <i class="fas fa-check-circle text-gray-400 mr-1 text-xs"></i>
                <span class="text-xs">基础服务折扣</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle text-gray-400 mr-1 text-xs"></i>
                <span class="text-xs">积分兑换</span>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 银卡会员 -->
        <div class="bg-white rounded-lg overflow-hidden shadow-sm level-card level-silver">
          <div class="p-3 bg-gray-50 flex items-center">
            <i class="fas fa-medal text-gray-500 mr-2"></i>
            <span class="font-medium">银卡会员</span>
            <span class="ml-auto text-xs text-gray-500">Lv.2</span>
          </div>
          <div class="p-3">
            <p class="text-xs text-gray-500 mb-2">积分要求：1,000-2,999</p>
            <div class="grid grid-cols-2 gap-2">
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">9.5折服务优惠</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">积分加速1.2倍</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">生日礼包</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">专属客服</span>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 金卡会员 -->
        <div class="bg-white rounded-lg overflow-hidden shadow-sm level-card level-gold">
          <div class="p-3 bg-gray-50 flex items-center">
            <i class="fas fa-crown text-yellow-500 mr-2"></i>
            <span class="font-medium">黄金会员</span>
            <span class="ml-auto text-xs text-gray-500">Lv.3</span>
            <span class="ml-2 text-xs bg-yellow-100 text-yellow-600 px-2 py-0.5 rounded">当前等级</span>
          </div>
          <div class="p-3">
            <p class="text-xs text-gray-500 mb-2">积分要求：3,000-9,999</p>
            <div class="grid grid-cols-2 gap-2">
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">9折服务优惠</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">积分加速1.5倍</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">生日双倍礼</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">专属客服</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">免费体检1次</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">商城8.5折</span>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 铂金会员 -->
        <div class="bg-white rounded-lg overflow-hidden shadow-sm level-card level-platinum">
          <div class="p-3 bg-gray-50 flex items-center">
            <i class="fas fa-gem text-gray-500 mr-2"></i>
            <span class="font-medium">铂金会员</span>
            <span class="ml-auto text-xs text-gray-500">Lv.4</span>
          </div>
          <div class="p-3">
            <p class="text-xs text-gray-500 mb-2">积分要求：10,000-29,999</p>
            <div class="grid grid-cols-2 gap-2">
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">8.5折服务优惠</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">积分加速2倍</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">生日三倍礼</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">专属客服</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">免费体检2次</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">商城8折</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">专属活动邀请</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">服务优先预约</span>
              </div>
            </div>
          </div>
        </div>
        
        <!-- 钻石会员 -->
        <div class="bg-white rounded-lg overflow-hidden shadow-sm level-card level-diamond">
          <div class="p-3 bg-gray-50 flex items-center">
            <i class="fas fa-diamond text-blue-300 mr-2"></i>
            <span class="font-medium">钻石会员</span>
            <span class="ml-auto text-xs text-gray-500">Lv.5</span>
          </div>
          <div class="p-3">
            <p class="text-xs text-gray-500 mb-2">积分要求：30,000+</p>
            <div class="grid grid-cols-2 gap-2">
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">8折服务优惠</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">积分加速3倍</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">豪华生日礼</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">专属客服</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">免费体检4次</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">商城7折</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">专属活动邀请</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">服务优先预约</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">专属健康顾问</span>
              </div>
              <div class="flex items-center">
                <i class="fas fa-check-circle primary-color mr-1 text-xs"></i>
                <span class="text-xs">高端医疗绿通</span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 会员权益详情 -->
    <div class="px-4 py-3 bg-gray-50">
      <h2 class="text-base font-medium mb-3">权益详情</h2>
      <div class="bg-white rounded-lg">
        <div class="benefit-item">
          <i class="fas fa-tags primary-color text-lg mr-3"></i>
          <div class="flex-1">
            <h3 class="font-medium text-sm">专享折扣</h3>
            <p class="text-xs text-gray-500 mt-1">会员可享受服务和商品的专属折扣，折扣力度随会员等级提升</p>
          </div>
        </div>
        
        <div class="benefit-item">
          <i class="fas fa-gift primary-color text-lg mr-3"></i>
          <div class="flex-1">
            <h3 class="font-medium text-sm">生日礼包</h3>
            <p class="text-xs text-gray-500 mt-1">会员生日当月可领取专属生日礼包，包含积分、优惠券等多重好礼</p>
          </div>
        </div>
        
        <div class="benefit-item">
          <i class="fas fa-shipping-fast primary-color text-lg mr-3"></i>
          <div class="flex-1">
            <h3 class="font-medium text-sm">免费配送</h3>
            <p class="text-xs text-gray-500 mt-1">银卡及以上会员在商城购物可享受免费配送服务</p>
          </div>
        </div>
        
        <div class="benefit-item">
          <i class="fas fa-headset primary-color text-lg mr-3"></i>
          <div class="flex-1">
            <h3 class="font-medium text-sm">专属客服</h3>
            <p class="text-xs text-gray-500 mt-1">银卡及以上会员可享受一对一专属客服服务，优先解决问题</p>
          </div>
        </div>
        
        <div class="benefit-item">
          <i class="fas fa-heartbeat primary-color text-lg mr-3"></i>
          <div class="flex-1">
            <h3 class="font-medium text-sm">健康体检</h3>
            <p class="text-xs text-gray-500 mt-1">金卡及以上会员每年可享受免费体检服务，次数随等级提升</p>
          </div>
        </div>
        
        <div class="benefit-item">
          <i class="fas fa-calendar-alt primary-color text-lg mr-3"></i>
          <div class="flex-1">
            <h3 class="font-medium text-sm">专属活动</h3>
            <p class="text-xs text-gray-500 mt-1">铂金及以上会员可获得高端健康讲座、新品体验等活动邀请</p>
          </div>
        </div>
        
        <div class="benefit-item">
          <i class="fas fa-user-md primary-color text-lg mr-3"></i>
          <div class="flex-1">
            <h3 class="font-medium text-sm">健康顾问</h3>
            <p class="text-xs text-gray-500 mt-1">钻石会员可享有专属健康顾问服务，提供个性化健康管理方案</p>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 积分规则 -->
    <div class="px-4 py-3">
      <div class="flex justify-between items-center mb-3">
        <h2 class="text-base font-medium">积分规则</h2>
        <a href="member_points.html" class="text-sm primary-color">查看详情 <i class="fas fa-chevron-right text-xs"></i></a>
      </div>
      
      <div class="bg-white rounded-lg p-3">
        <div class="mb-3">
          <h3 class="text-sm font-medium mb-1">积分获取</h3>
          <p class="text-xs text-gray-600">1. 消费获取：每消费1元获得1积分</p>
          <p class="text-xs text-gray-600">2. 签到获取：每日签到可获得5-20积分</p>
          <p class="text-xs text-gray-600">3. 活动获取：参与平台活动可获得额外积分</p>
        </div>
        
        <div>
          <h3 class="text-sm font-medium mb-1">积分使用</h3>
          <p class="text-xs text-gray-600">1. 积分兑换：可兑换商品、服务或优惠券</p>
          <p class="text-xs text-gray-600">2. 积分抵现：100积分可抵扣1元</p>
          <p class="text-xs text-gray-600">3. 积分有效期：一年，到期前会提醒</p>
        </div>
      </div>
    </div>
    
    <!-- 底部空间 -->
    <div class="pb-8"></div>
  </div>
</body>
</html> 